void warning(const char*, ...) PRINTFLIKE(1, 2);
void debug_print(int level, const char* fmt, ...) PRINTFLIKE(2,3);
-ff_vecs_t* find_vec(const char *, char**);
+ff_vecs_t* find_vec(const char *, const char**);
void assign_option(const char* vecname, arglist_t* ap, const char* val);
void disp_vec_options(const char* vecname, arglist_t* ap);
void disp_vecs(void);
rd_init(const char* fname)
{
if (setjmp(gdx_jmp_buf)) {
- char* vec_opts = NULL;
+ const char* vec_opts = NULL;
const gdx_info* gi = gdx_get_info();
gpx_vec = find_vec("gpx", &vec_opts);
gpx_vec->rd_init(gi->from_device.canon);
route_head* trk_head = NULL;
int trk_num = 0;
int i;
- char* trk_name = "";
+ const char* trk_name = "";
GPS_PLap* laps = NULL;
int nlaps = 0;
int next_is_new_trkseg = 0;
const char** dlist = os_get_magellan_mountpoints();
explorist_info = explorist_ini_get(dlist);
if (explorist_info) {
- char* vec_opts = NULL;
+ const char* vec_opts = NULL;
gpx_vec = find_vec("gpx", &vec_opts);
}
return;
filter_vecs_t* fvecs = NULL;
char* fname = NULL;
char* ofname = NULL;
- char* ivec_opts = NULL;
- char* ovec_opts = NULL;
+ const char* ivec_opts = NULL;
+ const char* ovec_opts = NULL;
char* fvec_opts = NULL;
int opt_version = 0;
int did_something = 0;